create an image with piping